<extend name="Common/base"/>
<block name="js">
    <script src="{$Think.JS_URL}\assetce.js"></script>
</block>
<block name="content">
    <div class="container">
        <div class="menu_l" >
            <div class="Na" style="margin-left:13px;" ><span style="word-break:normal;"></span>
            </div>
            <dl id="dl1" class="close1" style="height:auto; overflow:visible;">
                <dt  onclick="onelist(this)" style="background-color:#019858">
                    <span><i id="icon1"class="fa fa-caret-right fa-lg"></i>&nbsp;仪器借用</span>
                </dt>
                <dd ><a href="instrumentLend.html" style="color:#333333;text-decoration: none;"><span>填写申请表 </span></a></dd>
                <dd style="background-color:#019858"><a href="schoolItem.html" style="color:#333333;text-decoration: none;"><span>我的借用记录</span></a></dd>
            </dl>
            <dl id="dl2" class="close1">
                <dt  onclick="onelist(this)"><span><i id="icon2" class="fa fa-caret-right fa-lg"></i>&nbsp;耗材领取</span></dt>
                <dd style="background-color:#019858"><a href="material.html?id=3" style="color:#333333;text-decoration: none;"><span>填写申请表</span></a></dd>
                <dd><a href="myMaterial.html?id=4" style="color:#333333;text-decoration: none;"><span>我的领取记录</span></a></dd>
            </dl>
            <dl id="dl3" class="close1">
                <dt  onclick="onelist(this)" style="background-color:#019858"><span><i id="icon3" class="fa fa-caret-right fa-lg"></i>&nbsp;申购</span></dt>
                <dd ><a href="applicationApply.html?id=5" style="color:#333333;text-decoration: none;"><span>仪器设备申购</span></a></dd>
                <dd   style="background-color:#019858"><a href="materialApply.html?id=6" style="color:#333333;text-decoration: none;"><span>耗材申购</span></a></dd>
            </dl>
        </div>
        <div class="records">
            <!--样式在common.css-->
            <div class="tipTitle">
            <i class="fa fa-smile-o fa-2x"></i>&nbsp;&nbsp;<span>申购详请</span>
            </div>
            <table class="table table-bordered applyTable">
                <foreach name="applyDetail" item="v1" key="k1">
                <tr>
                    <td>物品名称</td>
                    <td>{$v1.goods_name}</td>
                </tr>
                <tr>
                    <td>数量</td>
                    <td>{$v1.count}</td>
                </tr>
                <tr>
                    <td>用途</td>
                    <td>{$v1.use_for}</td>
                </tr>
                    <tr>
                        <td>申购物品要求</td>
                        <td>{$v1.remark}</td>
                    </tr>
                <tr>
                    <td>申购时间</td>
                    <?php
                        $time = date("Y-m-d", $v1['time']);?>
                    <td>{$time}</td>
                </tr>
                <tr>
                    <td>审核状态</td>
                    <if condition="$v1['status']  eq 1">
                        <td>未审核</td>
                        <else/><td>已审核</td>
                    </if>
                </tr>
                <if condition="$v1['status']  eq 2">
                    <tr>
                        <td>审核意见</td>
                        <td>{$v1.suggestion}</td>
                    </tr>
                <if condition="$v1['status']  eq 2">
                <tr>
                    <td>购买进度</td>
                    <td>{$v1.rate}</td>
                </tr>
                </if>
                <tr>
                    <td>审核人</td>
                    <td>{$v1.check_person}</td>
                </tr>
                <tr>
                     <td>审核日期</td>
                    <?php
                        $check_time = date("Y-m-d", $v1['check_time']);?>
                     <td>{$check_time}</td>
                </tr>
                <tr></tr>
                </foreach>
            </table>
        </div>

    </div>
</block>
<block name="header_js">
    <!--导航变色-->
    <script>
        var nav=document.getElementsByClassName('nav')[0].getElementsByTagName('a');
        nav[2].className='active';
    </script>
</block>